package com.test.qpbgboot.backend.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.test.qpbgboot.show.pojo.vo.MerchantShopVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class MerchantVO {
    @ApiModelProperty(value = "商家id")
    private Long id;
    @ApiModelProperty(value = "商家名称")
    private String name;
    @ApiModelProperty(value = "负责人名字")
    private String headName;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "联系号码")
    private String phone;
    @ApiModelProperty(value = "商家logo")
    private String imgUrl;
    @ApiModelProperty(value = "商家简介")
    private String description;
    @ApiModelProperty(value = "营业执照")
    private String businessLicense;
    @ApiModelProperty(value = "钱包余额")
    private BigDecimal accountBalance;
    @ApiModelProperty(value = "商家状态 0待审核 1启用 2停用 3审核失败")
    private String status;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "旗下店家列表")
    private List<MerchantShopVO> shopList;
}
